﻿using MiniFox.Components;
using MiniFox.Infrastructure;
using Sys.Core.Models.Dto;
using Sys.Core.Models.Queries;
using Sys.Core.Models.VO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sys.Core.Providers
{
    [AutoRegister]
    public interface ISequenceProvider
    {
        SequenceSetVo GetItem(string name);
        ResultObject<IEnumerable<SequenceSetVo>> Query(PagedQueryObject<SequenceSetQuery> request);
        bool Remove(params string[] name);
        bool Update(SequenceSetDto dto);
        bool Create(SequenceSetDto dto);
        bool Reset(params string[] names);
    }
}
